<?php
return array(
	'class' => 'EditAction',
	'formView' => array(
		'fields' => array(
			// guid不显示
			'id' => false,
			'status' => false,
			'category_id' => array('dropDownList',Yii::app()->enum->options('goods.category')),
			'provider_id' => array('dropDownList',Yii::app()->enum->options('worker.provider'),
				'visible' => 'Yii::app()->adminUser->role != AdminUser::ROLE_PROVIDER',
			),
		)
	),
	'_import' => array(
		array('*', 'actions.edit//*'),
	),
);